package com.lagou.edu.service;

import com.lagou.common.vo.MsgCode;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="lagou-service-code")
@RequestMapping("/code")
public interface CodeServiceClient {
    //生成验证码
    @RequestMapping(value = "/createCode")
    public MsgCode findResumeOpenState(@RequestParam(value ="email") String email);




}
